//
//  StatusBottomView.swift
//  Tanenbaum_blog
//
//  Created by Tanenbaum on 15/8/2.
//  Copyright © 2015年 GZJ. All rights reserved.
//

import UIKit

class StatusBottomView: UIView {

   
    override init(frame: CGRect) {
        super.init(frame: frame)
        prepareUI()
        
    }

    required init?(coder aDecoder: NSCoder) {
        fatalError("init(coder:) has not been implemented")
    }

    private func prepareUI() {
        
        backgroundColor = UIColor(white: 0.95, alpha: 1.0)
        addSubview(forwardButton)
        addSubview(commentButton)
        addSubview(likeButton)
        
        ff_HorizontalTile([forwardButton,commentButton,likeButton], insets: UIEdgeInsetsZero)
        
    }
    
    //MARK --懒加载
    
    private lazy var forwardButton: UIButton = UIButton(title: " 转发", imageName: "timeline_icon_retweet")
    private lazy var commentButton: UIButton = UIButton(title: " 评论", imageName: "timeline_icon_comment")
    private lazy var likeButton: UIButton = UIButton(title: " 赞", imageName: "timeline_icon_unlike")
}
